local addon, ns = ...
local cfg = CreateFrame("Frame")
local mediaFolder = "Interface\\AddOns\\oUF_Arp\\media\\"	-- don't touch this ...


------------
-- Colors --
------------
	cfg.maincolor = {25/255, 25/255, 32/255}				-- raid health bar, castbar color
	cfg.sndcolor = {255/255, 255/255, 255/255}				-- font color, ...
	cfg.trdcolor = {90/255, 110/255, 120/255}				-- castbar color
	cfg.backdropcolor = {26/255, 25/255, 31/255}			-- backdrop color	
	cfg.brdcolor = {25/255, 25/255, 25/255}					-- border color
	cfg.iconcolor = {69/255, 54/255, 54/255}				-- icon border color
	
	cfg.solidHPBGcolor = true								-- use a custom background color for the healthbar, instead of class/reaction colors
	cfg.hpBGcolor = {1/255, 1/255, 1/255}				-- custom health background color, requires cfg.solidBGcolor = true

-----------	
-- Media --
-----------
	cfg.tex = mediaFolder.."Bar2"							-- bar texture
	cfg.Auratex = mediaFolder.."simplesquare_roth"			-- border texture for buffs/debuffs
	cfg.glowtex1 = mediaFolder.."border_default"			-- Thick border
	cfg.edgesize = 15										-- border size
	cfg.insets = 3											-- insets

	cfg.NameFont = mediaFolder.."FRIZQT__.ttf"				-- font used for text (names)	
	cfg.NumbFont = mediaFolder.."ARIALN.ttf"				-- font used for numbers		
	cfg.NameFS = 17											-- name font size
	cfg.NumbFS = 15 										-- number font size
	cfg.NumbFS1 = 20										-- Hp font size
	cfg.NumbFS2 = 16										-- Pp font size
	cfg.CastFS = 12											-- castbar font size	
	cfg.ComboFS = 20										-- combo point font size
	cfg.FontF = "THINOUTLINE"								-- "THINOUTLINE", "OUTLINE MONOCHROME", "OUTLINE" or nil (no outline)
	cfg.fontFNum = "THINOUTLINE"		
	cfg.playerHPy = 5										-- Y for player health position
    cfg.targetHPy = 5										-- Y for target health position
	
------------------------------------	
-- Switches -- true/false (on/off)--
------------------------------------
-- General settings --
----------------------
	cfg.Numberzzz = 0						-- 0 will display 18400k as 18k, 1 = 18.4k, ....
	cfg.FadeOutAlpha = 0.6 					-- alpha for out of range units (oUF_SpellRange plugin, required)
	cfg.ArpUI = false						-- only enbale while useing arp ui
	cfg.usePortrait = true					-- show/hide player, target, focus portrait
	cfg.pAlpha = 0.3						-- portrait alpha (transparency)	
	
--------------
-- CastBars --
--------------
	cfg.useCastbar = false					-- show/hide player, target, focus castbar
	cfg.movecb = true 						-- Moveble Castbars
	cfg.xposp = 0						    -- castbar player X position
	cfg.yposp = 38							-- castbar player Y position
	cfg.yposp2 = 58							-- castbar if you have a stance bar (Y position)
	cfg.cbpp = 'oUF_ArpPlayer'    			-- parent frame ('oUF_ArpPlayer', 'UIParent' or something else)
	cfg.anchor = 'CENTER'					-- anchor for both castbars
	cfg.anchor2 = 'TOP'			    	    -- anchor for both castbars
	cfg.cpheight = 19						-- castbar player height
	cfg.cpwidth = 240						-- castbar player width
	cfg.xpost = 0							-- castbar target X position
	cfg.ypost = 38							-- castbar target Y position
	cfg.cbtp = 'oUF_ArpTarget'    			-- parent frame ('oUF_ArpTarget', 'UIParent' or something else) 
	cfg.ctheight = 19						-- castbar target height
	cfg.ctwidth = 240						-- castbar target width
	
------------------
-- Combo Points --
------------------
	cfg.xcombo = 22					-- X position 
	cfg.ycombo = 0					-- Y position
	cfg.combonf = 8					-- font size +
	
------------
-- player --
------------
	cfg.PlayerBuffsOnPlayerFrame = false	-- put players buffs below the player frame instead of next to the minimap (cfg.HideBlizzardAuras = true, required)	
	cfg.pPervalue = false					-- % your HP

------------------------------------------------
-- Class bar - Holy Power, Soul Shards, Runes --
------------------------------------------------
	cfg.useClassBar = true					-- show/hide class bar
	cfg.ClassBarHeight = 10					-- height of Deathknight rune bar and Totembar (oUF_TotemBar plugin required) for shamans
	cfg.useeclip = false					-- enable eclipseBar
	
------------
-- Target --
------------
	cfg.onlyShowPlayerBuffs = false 		-- only show buffs casted by player (target and focus)
	cfg.onlyShowPlayerDebuffs = false		-- only show debuffs casted by player (target and focus)
	cfg.tPervalue = true					-- % targets HP
	cfg.usetdb = true						-- Use Debuffs
	cfg.usetb = true						-- Use Buffs

-----------
-- Focus --
-----------
	cfg.oSPlayerBuffs = false				-- Only show player buffs
	cfg.oSPlayerDebuffs = false				-- Only show player debuffs

------------------
-- Raid & Party --
------------------
	cfg.RaidandParty = true	 				-- set to false to disable raid frames
	cfg.raidxpos = 25						-- Moving Raid X pos
	cfg.raidypos = -25						-- Moving Raid Y pos
	cfg.columns = 8							-- Groups in Raid 8 Max
	cfg.rscale = 1							-- scale
	cfg.HidePower = false					-- Hide Power (ex. Mana)
	cfg.groupspace = -7
	
----------
-- Boss --
----------
	cfg.BossFrames = true	 				-- set to false to disable boss frames	
	cfg.bxpos = -1779							-- Moving Boss X pos
	cfg.bypos = -500						-- Moving Boss Y pos
	cfg.bPervalue = true 					-- Boss % value
	
---------------
-- Main Tank --
---------------
	cfg.MTFrames = false	 					-- set to false to disable main tank frames

-------------------
-- Aura Specific --
-------------------
	cfg.HideBlizzardAuras = false			-- hide blizzard buff, debuff and weapon enchant frame
	cfg.HideAuraTimer = 59					-- spell timer is shown for shorter durations, than set value, hidden otherwise
	
--------------
-- Textures --	
--------------
	cfg.usetextart = false					-- enable panels
-- bars
	cfg.bars = true							-- show/hide bars
    cfg.panelscale = 1.0					-- scale
	cfg.barwidth = 428						-- Width bars
	cfg.barheight = 40						-- Height bars
	cfg.lineHeight = 5						-- Line Height
	cfg.bar1x = -340						-- x pos bar1
	cfg.bar1y = 4							-- y pos bar1	
	cfg.bar2x = 340							-- x pos bar2
	cfg.bar2y = 4							-- y pos bar2

-- info 
	cfg.useinfobar = true					-- show/hide info texture
	cfg.infobarw = 320						-- Width
	cfg.infobarh = 	16						-- Height
	cfg.infobarx = -4						-- chat and info x pos
	cfg.infobary = 4						-- chat and info y pos

-- chat 
	cfg.usechatbar = true					-- show/hide chat texture
	cfg.chatbarw = 320						-- Width
	cfg.chatbarh = 	16						-- Height
	cfg.chatbarx = 4						-- chat and chat x pos
	cfg.chatbary = 4						-- chat and chat y pos	

-- stance
	cfg.usestance = true 					-- show/hide stance texture
	cfg.sbarwidth = 206						-- Width
	cfg.sbarheight = 14						-- Height
	cfg.sbxpos = 0							-- x pos
	cfg.sbypos = 16							-- y pos
	
-- minimap
	cfg.usemini = true						-- show/hide minimap background
	cfg.miniheight = 148					-- Height
	cfg.miniwidth = 148						-- Width
	cfg.manchor = 'TOPLEFT'					-- Anchor
	cfg.mxpos = 7							-- x pos
	cfg.mypos = -7							-- y pos
		
---------------	
-- framesize --
---------------
	-- height
	cfg.heightP = 35		-- player
	cfg.heightT = 35		-- target
	cfg.heightF = 25		-- Focus	
	cfg.heightM = 18 		-- MT, boss frames
	cfg.heightS = 25 		-- ToT, FocusTarget, pet
	cfg.heightPA = 14		-- party, party pet - arena
	cfg.heightR = 25		-- raid
	cfg.heightCB = 8		-- class bar

	-- width
	cfg.widthP = 250		-- player
	cfg.widthT = 250		-- target
	cfg.widthF = 200		-- Focus	
	cfg.widthM = 140 		-- MT, boss frames
	cfg.widthS = 150 		-- ToT, FocusTarget, pet, party pet
	cfg.widthPA = 200 		-- party - arena
	cfg.widthR = 60 		-- raid
	cfg.widthCB = 250		-- class bar
	
	-- hp|pp height, pp|info offset (optional)
	cfg.heightPP = 0
	cfg.PPyOffset = 0
	
ns.cfg = cfg	-- don't touch this ...